#include"process.h"
char style[S_NUM]={'+','.','>','*','~'};
void ProcessOn()
{
int cnt=0;
char bar[NUM];

const char*lable="/-\\|";
while(cnt<=100)
{
  printf("[%-100s][%-3d%%][%c]\r",bar,cnt,lable[cnt%4]);
  fflush(stdout);
  bar[cnt++]=style[N];
  usleep(50000);
}
printf("\n");


}
